package com.pureut.system.domain.dto;

import com.pureut.system.domain.MaterialBomDetail;

import java.util.List;

/**
 * @Description bom信息返回实体类
 * @Param
 * @Date 22-12-02
 * @Author hl
 **/
public class MaterialBomDto {

    /** id */
    private long bomId;

    /** bom编码 */
    private String bomCode;

    /** bom类别 */
    private int bomType;

    /** 物料id */
    private long materialId;

    /** 物料编码 */
    private String materialCode;

    /** 物料名称 */
    private String materialName;

    /** 物料规格 */
    private String materialSpec;

    /** 配比 */
    private String materialRatio;

    /** 类别id */
    private long materialType;

    /** 类别名称 */
    private String materialTypeName;

    /** 创建人 */
    private String createBy;

    /** 创建时间 */
    private String createTime;

    /** 占比/用量 */
    private String bomProportion;

    public String getBomProportion() {
        return bomProportion;
    }

    public void setBomProportion(String bomProportion) {
        this.bomProportion = bomProportion;
    }

    public int getBomProportionStatus() {
        return bomProportionStatus;
    }

    public void setBomProportionStatus(int bomProportionStatus) {
        this.bomProportionStatus = bomProportionStatus;
    }

    public Long getBomParentId() {
        return bomParentId;
    }

    public void setBomParentId(Long bomParentId) {
        this.bomParentId = bomParentId;
    }

    public int getBomOrderNum() {
        return bomOrderNum;
    }

    public void setBomOrderNum(int bomOrderNum) {
        this.bomOrderNum = bomOrderNum;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    /** 占比计算开关（1开二关） */
    private int bomProportionStatus;

    /** 上级id */
    private Long bomParentId;

    /** 顺序 */
    private int bomOrderNum;

    /** 部门id */
    private Long deptId;

    /** 单位 */
    private String materialUnit;

    public long getMaterialType() {
        return materialType;
    }

    public void setMaterialType(long materialType) {
        this.materialType = materialType;
    }

    private List<MaterialBomDetail> bomDetailCode;

    public List<MaterialBomDetail> getBomDetailCode() {
        return bomDetailCode;
    }

    public void setBomDetailCode(List<MaterialBomDetail> bomDetailCode) {
        this.bomDetailCode = bomDetailCode;
    }

    public String getMaterialTypeName() {
        return materialTypeName;
    }

    public void setMaterialTypeName(String materialTypeName) {
        this.materialTypeName = materialTypeName;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    public String getMaterialRatio() {
        return materialRatio;
    }

    public void setMaterialRatio(String materialRatio) {
        this.materialRatio = materialRatio;
    }

    public long getBomId() {
        return bomId;
    }

    public void setBomId(long bomId) {
        this.bomId = bomId;
    }

    public String getBomCode() {
        return bomCode;
    }

    public void setBomCode(String bomCode) {
        this.bomCode = bomCode;
    }

    public int getBomType() {
        return bomType;
    }

    public void setBomType(int bomType) {
        this.bomType = bomType;
    }

    public long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(long materialId) {
        this.materialId = materialId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
